package com.dongdongshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping("index")
    public String toIndex(){
        return "admin/index";
    }
    @RequestMapping("index2")
    public String toIndex2(){
        return "admin/type/add";
    }
    @RequestMapping("shouye")
    public String ToShouye(){
        return "admin/index";
    }

}
